The kneecap, also known as the patella, is a small bone located in front of the knee joint. It acts as a protective shield for the knee and helps to stabilize the joint during movement. The kneecap also plays an important role in controlling flexion and extension of the leg by changing its angle relative to the femur.